/*
 * @Author: dongweipeng dongweipeng@supos.com
 * @Date: 2024-12-27 13:07:42
 * @LastEditors: dongweipeng dongweipeng@supos.com
 * @LastEditTime: 2024-12-27 13:09:16
 * @FilePath: \supos-ce-fuxa\client\src\app\_services\suposApi.ts
 * @Description: supOS API
 */
import axios from 'axios';

// 获取详情
export const queryDetail = async (id: string) => axios.get(`/inter-api/supos/uns/dashboard/detail?id=${id}`);

// // 获取tags列表
// export const queryTags = async () => axios.get('/inter-api/supos/uns/search?p=1&sz=100000');

// 更新详情
export const updateDetail = async (params: any) => axios.put('/inter-api/supos/uns/dashboard', { ...params });
